<form id="pagerForm" method="post" action="">
	<input type="hidden" name="pageNum" value="{$pageNum}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="orderField" value="{$orderField}" />
	<input type="hidden" name="orderDirection" value="{$orderDirection}" />
</form>

<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="" method="post">
		<input type="hidden" name="m" value="{$module_name}" />
		<input type="hidden" name="a" value="{$action_name}" />
	<div class="searchBar">
		<ul class="searchContent">
			<li style="width:210px;">
				<label style="width:60px;">关键字：</label>
				<input type="text" name="keywords" value="{$keywords}" style="width:120px;"/>
			</li>
			<li style="width:60px;">
			
			<select name="sfield" class="combox">
				<option value="all" {if $wherefields=='all'}selected="selected"{/if}>全部</option>
				<option value="s.user_id" {if $wherefields=='user_id'}selected="selected"{/if}>用户id</option>
				<option value="username" {if $wherefields=='username'}selected="selected"{/if}>用户名</option>
				<option value="s.name" {if $wherefields=='name'}selected="selected"{/if}>店铺名称</option>	
				<option value="mobile" {if $wherefields=='mobile'}selected="selected"{/if}>手机号码</option>
			</select>
			<input type="hidden" name="sfield_name" value="s.user_id,username,s.name,mobile" />
			</li>
			
			<div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
		</ul>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="edit" href="{:U('Biz/product')}&cid={sid_dv}"  target="navTab" width="1000" height="550"  warn="请先选择店铺"><span>商品列表</span></a></li>
			<li><a class="edit" href="{:U('Biz/product')}&cid={sid_dv}"  target="navTab" width="1000" height="550"  warn="请先选择店铺"><span>文章列表</span></a></li>
			<li><a class="edit" href="{:U('Biz/product')}&cid={sid_dv}"  target="navTab" width="1000" height="550"  warn="请先选择店铺"><span>广告列表</span></a></li>
		</ul>
	</div>
	<div id="user_list">
	<table class="list" layoutH="110" >
		<thead>
			<tr>
				<th width="2%" orderField="id" {if $orderField=='id'}class="{$orderDirection}"{/if}>编号</th>
				<th width="6%" orderField="username" {if $orderField=='username'}class="{$orderDirection}"{/if}>店铺信息</th>														
				<th width="18%" orderField="mobile" {if $orderField=='mobile'}class="{$orderDirection}"{/if}>下拉导航</th>
				<th width="18%" orderField="name" {if $orderField=='name'}class="{$orderDirection}"{/if}>菜单</th>
				<th width="18%" orderField="domain" {if $orderField=='domain'}class="{$orderDirection}"{/if}>左侧内容</th>
				<th width="18%" orderField="last_logintime" {if $orderField=='last_logintime'}class="{$orderDirection}"{/if}>右侧内容</th>
				<th width="18%" orderField="status" {if $orderField=='status'}class="{$orderDirection}"{/if}>底部内容</th>
			</tr>
		</thead>
		<tbody>
<volist name="list" id="vo">
			<tr target="sid_dv" rel="{$vo['id']}">
				<td>{$vo['user_id']}</td>
				<td>用户：{$vo['username']}<br />店名：{$vo['name']}</br />手机：{$vo['mobile']}</td>
				<td><a class="edit" href="{:U('Biz/tag',array('cid'=>$vo['id']))}" target="navTab" width="600" height="550" >
						<span>商品分类：</span></a>
					{$vo['index-menu_left']['pr']|implode=','}<br />
					<a>文章分类：</a>{$vo['index-menu_left']['ar']|implode=','}<br />
					<a>广告：</a>{$vo['index-menu_left']['ad']|implode=','}</td>
				<td><a>商品分类：</a>{$vo['index-menu']['pr']|implode=','}<br />
					<a>文章分类：</a>{$vo['index-menu']['ar']|implode=','}<br />
					<a>广告：</a>{$vo['index-menu']['ad']|implode=','}</td>
				<td><a>商品分类：</a>{$vo['index-left']['pr']|implode=','}<br />
					<a>文章分类：</a>{$vo['index-left']['ar']|implode=','}<br />
					<a>广告：</a>{$vo['index-left']['ad']|implode=','}</td>
				<td><a>商品分类：</a>{$vo['index-right']['pr']|implode=','}<br />
					<a>文章分类：</a>{$vo['index-right']['ar']|implode=','}<br />
					<a>广告：</a>{$vo['index-right']['ad']|implode=','}</td>
				<td><a>商品分类：</a>{$vo['index-banner2']['pr']|implode=','}<br />
					<a>文章分类：</a>{$vo['index-banner2']['ar']|implode=','}<br />
					<a>广告：</a>{$vo['index-banner2']['ad']|implode=','}</td>
			</tr>
</volist>
		</tbody>
	</table>
	</div>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20" {if $numPerPage==20}selected="selected"{/if}>20</option>
				<option value="50" {if $numPerPage==50}selected="selected"{/if}>50</option>
				<option value="66" {if $numPerPage==66}selected="selected"{/if}>66</option>
				<option value="100" {if $numPerPage==100}selected="selected"{/if}>100</option>
				<option value="200" {if $numPerPage==200}selected="selected"{/if}>200</option>
			</select>
			<span>条，共{$totalCount}条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$pageNum}"></div>
	</div>
</div>
